package com.glela.email.service;

import java.io.File;
import java.io.UnsupportedEncodingException;
import java.util.Map;
import javax.mail.MessagingException;

/********************************************
 * <dl>
 * <dt>发送邮件服务类</dt>
 * </dl>
 * 
 * @author gwq
 * @date 2018年01月25日 09:44:05
 ********************************************/
public interface EmailService {
	
	public void sendEmail(String to, String subject, String content, boolean isHtml) throws MessagingException;
	
	public void sendBatchEmail(String paramString1, String paramString2, String paramString3, Map<String, String> content, Map<String, File> paramList1, Map<String, File> paramList2, String templateName) throws MessagingException, UnsupportedEncodingException;
}